package com.wyman.context.event;

import com.wyman.context.ApplicationEvent;
import com.wyman.context.ApplicationListener;

/**
 * @Author 李伟民
 * @Description 真正实现事件发布的接口 负责管理监听器和广播事件
 * @DateTime 2024/12/18 00:31
 */
public interface ApplicationEventMulticaster {


    void addApplicationListener(ApplicationListener<?> applicationListener);

    void removeApplicationListener(ApplicationListener<?> applicationListener);

    void multicastEvent(ApplicationEvent event);

}
